package com.turing.post.salesmanage.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;

/**
 * 销售单销售员明细业务接口
 * @author zxp
 * @Dec 23, 2012
 */
@Remote
@Local
public interface SaleOrderSalesDetailBusiness {

	/**
	 * 新增销售单销售员明细
	 * 
	 * @param saleOrderSalesDetail 销售单销售员明细
	 * @throws PCPSApplicationException
	 */
	public void insertSaleOrderSalesDetailInfo(
			SaleOrderSalesDetail saleOrderSalesDetail)
			throws PCPSApplicationException;

//	/**
//	 * 修改销售单销售员明细
//	 * 
//	 * @param saleOrderSalesDetail 销售单销售员明细
//	 * @throws PCPSApplicationException
//	 */
//	public void updateSaleOrderSalesDetailInfo(
//			SaleOrderSalesDetail saleOrderSalesDetail)
//			throws PCPSApplicationException;

	/**
	 * 删除销售单销售员明细
	 * 
	 * @param saleOrderSalesDetail 销售单销售员明细
	 * @throws PCPSApplicationException
	 */
	public void deleteSaleOrderSalesDetailInfo(
			SaleOrderSalesDetail saleOrderSalesDetail)
			throws PCPSApplicationException;
}
